package com.jyw.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jyw.system.domain.SysReceiveDepartConfig;
import com.jyw.system.domain.vo.SysReceiveDepartConfigVo;
import com.jyw.system.domain.vo.SysReceiveDepartDetailVo;
import com.jyw.system.domain.vo.SysReminderRulesConfigVo;

import java.util.List;

/**
 * @author Created by ZhangCheng on 2023/08/17 (系统工单接单科室配置)
 */
public interface ISysReceiveDepartConfigService extends IService<SysReceiveDepartConfig> {


    /**
     * 获取系统工单接单科室启用配置
     *
     * @return
     */
    SysReceiveDepartDetailVo getDefaultConfig();

    /**
     * 修改工单接单科室启用配置
     *
     * @param sysReceiveDepartDetailVo
     */
    void updateConfig(SysReceiveDepartDetailVo sysReceiveDepartDetailVo);

    /**
     * 查询所有接单科室
     *
     * @return
     */
    List<SysReceiveDepartConfigVo> queryAllList();

    /**
     * 新增接单科室
     *
     * @param sysReceiveDepartConfig
     */
    int insert(SysReceiveDepartConfig sysReceiveDepartConfig);

    /**
     * 批量新增接单科室
     *
     * @param configList
     * @return
     */
    Boolean insertList(List<SysReceiveDepartConfig> configList);

    /**
     * 批量删除工单评价
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteBatchByIds(Long[] ids);
}
